mediaFoundationVideoProcessorGetInputAvailableMediaType
Type
function
Summary
Get an input media type that the video processor supports Platform:desktop
Syntax
mediaFoundationVideoProcessorGetInputAvailableMediaType(<pVideoProcessorID>, <pIndex>)
Description
The video processor supports a number of input and output media types. To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.
You may keep requesting media types from this API until 0 is returned instead of a media type ID.
*:See the mediaFoundationTranscode documentation for a complete example of using this handler.
Parameters
Name | Type | Description |
---|---|---|
pVideoProcessorID | integer | A video processor ID |
pIndex | integer | An index of the available media types |
Related
command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor
Compatibility and Support
OS
windows